﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Abp.Rebus.Rabbit
{
   public class RebusMessageAdapter
    {
       private string _exchange = "RebusDirect";

       /// <summary>
        /// json字符串
        /// </summary>
        public string JsonMessage { set; get; }

        /// <summary>
        /// 路由
        /// </summary>
        public string RouteKey { set; get; }

        /// <summary>
        /// 消息类型
        /// </summary>
        public string MsgType { set; get; }

        public Guid CorrId { set; get; }


       public string Exchange
       {
           set { _exchange = value; }
           get { return _exchange; }
       }
    }
}
